Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for acts_as_tenant :through #275

Merged
merged 2 commits into from
Feb 23, 2022

Conversation

scarhand
Copy link
Contributor

Thank you for this awesome gem! I noticed that it does not seem to support habtm :through relationships.

Granted, it's a bit of an edge case, but there might be more people that benefit from having this feature.

…as_tenant for has-and-belongs-to-many relationships.
@excid3
Copy link
Collaborator

excid3 commented Feb 22, 2022

@scarhand thanks for this! Could you add this to the docs as well?

@scarhand
Copy link
Contributor Author

Yes, I've added a short description and a code example to the readme. Does this suffice?

@excid3 excid3 merged commit a05d9a2 into ErwinM:master Feb 23, 2022
@excid3
Copy link
Collaborator

excid3 commented Feb 23, 2022

Thanks @scarhand :shipit:

scarhand added a commit to scarhand/acts_as_tenant that referenced this pull request Mar 17, 2022
* Add support for acts_as_tenant :through. This allows you to use acts_as_tenant for has-and-belongs-to-many relationships.

* Update readme to include  option.
@longnd
Copy link

longnd commented Sep 6, 2022

hi @excid3, could you please release a new version for the gem, this improvement and the others are in the main branch but the last release was 2020 already 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants